<?php


namespace app\api\model;


class Daily extends Base
{
    public function doesItExist($data)
    {
        $result = self::where(['time'=>$data['time'],'org_id'=>$data['org_id'],'app_id'=>$data['app_id']])->find();
        return $result;
    }
}